package com.zhao.dota.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class Role implements Serializable {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private String name;

    private String code;

    private LocalDateTime createTime;

    private Boolean enabled;
    @TableField("`desc`")
    private String desc;

}
